package com.sbr.seb.planning;

import org.springframework.transaction.annotation.Transactional;

import com.sbr.seb.entity.livraison.Delivery;
import com.sbr.seb.planning.dao.DeliveryDao;

@Transactional
public class DeliveryService {

	private DeliveryDao deliveryDao;

	public void addDelivery(Delivery delivery) {
		deliveryDao.add(delivery);
	}
	
	public void setDeliveryDao(DeliveryDao deliveryDao) {
		this.deliveryDao = deliveryDao;
	}
	
}
